package com.graduation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.graduation.pojo.po.Favorite;
import com.graduation.pojo.query.FavoriteQuery;
import com.graduation.pojo.vo.FavoriteVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FavoriteMapper extends BaseMapper<Favorite> {

    Page<FavoriteVO> selectFavoriteVOPage(Page<FavoriteVO> page, @Param("query") FavoriteQuery query);

    List<Long> selectHotCaseTop10();

}
